package com.megan.design.principle.demeter;

import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: megan
 * @Data: 2018/8/21 上午8:06
 * @Description: 程序员
 */
@Slf4j
public class TeamLeader {
    public void checkNumberOfCourses(){
        List<Courese> coureseList = new ArrayList<Courese>();
        for(int i = 0; i < 20 ; i ++ ){
            coureseList.add(new Courese());
        }
        log.info("课程数量为：{}",coureseList.size());
    }
}
